﻿<%@ Control Language="C#" AutoEventWireup="true" Inherits="SouthernLand.Controls.Advertise" Codebehind="Advertise.ascx.cs" %>
<table cellpadding="4" cellspacing="0" align="center">
    <tr>
        <td height="8px;">
        </td>
    </tr>
    <asp:Repeater runat="server" ID="rptAdvertise">
        <ItemTemplate>
            <tr>
                <td valign="top" align="center" style="padding-top: 4px; padding-bottom: 6px;">
                    <a href="<%#Eval("AdvUrl")%>" target="_blank" title="<%#Eval("AdvUrl")%>">
                        <%# GetAdvertise((string)Eval("FileName"), (int)Eval("AdvWidth"), (int)Eval("AdvHeight"))%>
                    </a>
                </td>
            </tr>
        </ItemTemplate>
    </asp:Repeater>
</table>
